package com.bw.shop.fg

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import com.bw.basecommon.BaseFragment
import com.bw.shop.R
import com.bw.shop.databinding.FragmentHomeBinding

class HomeFragment : BaseFragment<FragmentHomeBinding>() {
    override fun initView() {
        binding.tvWeixiu.setOnClickListener {
            binding.zaixianweixiu.isVisible=true
            binding.saomaohuandian.isVisible=false
            binding.imgWx.isVisible=false
        }
        binding.tvHuanddian.setOnClickListener {
            binding.zaixianweixiu.isVisible=false
            binding.saomaohuandian.isVisible=true
            binding.imgWx.isVisible=true
        }
        binding.imgZhinan.setOnClickListener {

        }
    }

    override fun initData() {
    }

    override fun getLayoutID()=R.layout.fragment_home
}